package org.springframework.remoting.service.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.remoting.service.ServiceType;

@Target({java.lang.annotation.ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RemoteService
{
  ServiceType serviceType() default ServiceType.HTTP;
  
  int registryPort() default 1090;
  
  String serviceVersion() default "V1.0";
}